home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 1 / The Arsenal Files (Arsenal Computer).ISO / dbase / usevid.doc < prev    next >
Text File  |  1993-11-06  |  2KB  |  65 lines

  1.                                             Extended Doc
  2.                                             Clarion Technical Staff
  3.                                             Version 3004
  4.                                             10/7/93
  5.    ________________________________________________________
  6.  
  7.     To use VID from the Generator, take the following steps.
  8.    _________________________________________________________
  9.  
  10.  
  11.   To include the debug code in all generated modules (see note below)
  12.   ------------------------------------------------------------------
  13.  
  14.  
  15.    1. AltN   to change project file
  16.  
  17.    2. AltD   to access Debug button for debug settings
  18.  
  19.    3. Check on the checkbox called   "Enable Source Debugging"
  20.  
  21.    4. Save the settings
  22.  
  23.    5. Select Make from Project Menu to make the .exe
  24.  
  25.    6. Select Debug to run the .exe with VID
  26.  
  27.  
  28.   To include the debug code in specific procedures.....
  29.   -------------------------------------------------------
  30.  
  31.    1. View your APP in "modular" view (AltV) to determine which
  32.       module contains the procedure you want to debug.
  33.  
  34.    2. AltN   to change project file
  35.  
  36.    3. AltL   to select module pushbutton
  37.  
  38.    4. Highlight the module you wish to debug and press enter.
  39.  
  40.    5. Check on the checkbox "Override Debug Settings"
  41.  
  42.    6. Check on the checkbox "Enable Source Debugging"
  43.  
  44.       Note: You will want include debug code for your main module
  45.       in order to check the value of global variables
  46.  
  47.    7. Select Make from Project Menu to make the .exe
  48.  
  49.    8. Select Debug to run the .exe with VID
  50.  
  51.  
  52.   Note:  ClaVid runs in conventional memory so you will often receive
  53.          out of memory errors when you try to debug your program.
  54.          Including debug code for only the module you wish to
  55.          debug will help with this problem. Also, you may run
  56.          CLAVID from the dos prompt.
  57.  
  58.           Example:
  59.             Clavid myprogram.exe
  60.  
  61.          If you are using the Dos Extender, you will envoke CLAXVID
  62.          which runs in protected mode eliminating most memory
  63.          problems.
  64.  
  65.